<template>
  <div  class="dashboard-editor-container">
    <el-row style="background: #fff; padding: 16px 16px; margin-bottom: 32px">
      <el-tabs type="border-card" v-model="activeName" @tab-click="handleClick">
        <el-tab-pane key="安装软件" label="安装软件" name="安装软件" lazy>
          <Software></Software>
        </el-tab-pane>
        <el-tab-pane key="非法软件" label="非法软件" name="非法软件" lazy>
          <illegalSoftware></illegalSoftware>
        </el-tab-pane>
        <el-tab-pane key="缺失软件" label="缺失软件" name="缺失软件" lazy>
          <compulsorySoftwareInstallation></compulsorySoftwareInstallation>
        </el-tab-pane>
        <!-- <el-tab-pane key="软件统计" label="软件统计" name="软件统计" lazy>
          <softwareStatistics ref="软件统计"></softwareStatistics>
        </el-tab-pane> -->
      </el-tabs>
    </el-row>
  </div>
</template>
<script>
import  softwareStatistics  from './softwareStatistics.vue'
import { connrequest } from '@/api/firstPage'
import { parseTime, getuuid } from '@/utils/index.js';
import  Software  from './Software.vue'
import  illegalSoftware  from './illegalSoftware.vue'
import  compulsorySoftwareInstallation  from './compulsorySoftwareInstallation.vue'
import elDragDialog from '@/directive/el-drag-dialog' // base on element-ui
export default {
  components: { Software, illegalSoftware, compulsorySoftwareInstallation, softwareStatistics },
  directives: { elDragDialog },
data() {
  return {
    pageNum: 1,
    pageSize: 10,
    total: 10,
    activeName: '安装软件',
    fileList: [],
    tableData: [],
    emailForm: {},
    emailList: [],
    imgurl:'',
    ImgBase64: '',
    imgdialog: false,
    dialogVisible: false,
    rules: {
      Descp:[
        { required: true, message: "请输入资源名称"}
      ]
    },
    resourceForm: {},
    Action: 1,
  }
},
  //生命周期 - 创建完成（访问当前this实例）
  created() {
  },
  //生命周期 - 挂载完成（访问DOM元素）
  mounted() {
  },
  methods: {
    handleClick(){}
  }
}
</script>
<style lang="scss" scoped>
/* @import url(); 引入css类 */
@import "~@/styles/variables.scss";
.content {
  position: relative;
  margin-top: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  ::v-deep .certification{
    .el-form-item{
      margin-bottom: 10px;
    }
    .el-col{
      display: flex;
      align-items: center;
      p{
        width: 100px;
        display:block;
        color: #aaa;
        font-size: 12px;
        padding-left: 20px;
        white-space: nowrap;
      }
    }
  }
}
.top{
  flex-wrap: nowrap;
  margin-bottom: 20px;
}
.btn{
  margin: 20px 0;
}


.key-word-textarea {
  height: 170px;
  overflow: hidden;
  box-shadow: 0px -1px 5px 0px rgba(220, 229, 255, 0.7);
  border: 1px solid #D3D5E0;
  border-top: none;
  align-items: flex-start;
  .el-textarea ::v-deep {
    .el-textarea__inner {
      border: none;
      border-radius: 0;
      line-height: 20px;
      font-size: 14px;
      height: 172px !important;
      min-height: 172px !important;
    }
  }
}


.text-area-num-scroll {
  width: 28px;
  overflow: hidden;
  height: 180px;
  background: #F5F6FA;
  padding-top: 5px;
}
.text-area-num-box {
  min-height: 172px;
  overflow-y: auto;
  height: 172px;
  width: 48px;
  padding-bottom: 10px;
}
.text-area-num {
  line-height: 20px;
  width: 28px;
  text-align: center;
}
.flex {
  display: flex;
}
</style>